package com.mmd.openfire_admin.dao;

import com.mmd.openfire_admin.generator.pojo.Ofpresence;
import com.mmd.openfire_admin.generator.pojo.OfpresenceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OfpresenceMapper {
    int countByExample(OfpresenceExample example);

    int deleteByExample(OfpresenceExample example);

    int deleteByPrimaryKey(String username);

    int insert(Ofpresence record);

    int insertSelective(Ofpresence record);

    List<Ofpresence> selectByExampleWithBLOBs(OfpresenceExample example);

    List<Ofpresence> selectByExample(OfpresenceExample example);

    Ofpresence selectByPrimaryKey(String username);

    int updateByExampleSelective(@Param("record") Ofpresence record, @Param("example") OfpresenceExample example);

    int updateByExampleWithBLOBs(@Param("record") Ofpresence record, @Param("example") OfpresenceExample example);

    int updateByExample(@Param("record") Ofpresence record, @Param("example") OfpresenceExample example);

    int updateByPrimaryKeySelective(Ofpresence record);

    int updateByPrimaryKeyWithBLOBs(Ofpresence record);

    int updateByPrimaryKey(Ofpresence record);
}